//
//  TermLabel.h
//  eGifr
//
//  Created by Phien Tram on 8/6/13.
//  Copyright (c) 2013 eGiftr. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    TERM_TOUCH_EVENT_STATE_NONE,
    TERM_TOUCH_EVENT_STATE_PAUSED,
    TERM_TOUCH_EVENT_STATE_RESUMED,
    TERM_TOUCH_EVENT_STATE_FLICK_UP,
    TERM_TOUCH_EVENT_STATE_FLICK_DOWN,
    TERM_TOUCH_EVENT_STATE_FINISH_FLICK_UP,
    TERM_TOUCH_EVENT_STATE_FINISH_FLICK_DOWN,
    TERM_TOUCH_EVENT_STATE_SWIPE_LEFT
} TERM_TOUCH_EVENT_STATE;

@interface TermLabel : UILabel

@property (nonatomic, assign) TERM_TOUCH_EVENT_STATE state;
@property (nonatomic, assign) CGRect originalFrame; //to recover

- (void)addTapAndPanGestureRecognizer;
- (void)removeAllGestureRecognizers;
@end
